<!DOCTYPE html>
<html>

    <head>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <title>
            <?php echo isset($page_title) ? $page_title : "Lei's BLOG | Welcome"; ?>
        </title>

        <link href="/static/css/bootstrap.min.css" rel="stylesheet">
        <link href="/static/font-awesome/css/font-awesome.css" rel="stylesheet">
        <link href="/static/css/animate.css" rel="stylesheet">
        <link href="/static/css/style.css" rel="stylesheet">

    </head>

    <body class="top-navigation">
        <div id="wrapper">
            <div id="page-wrapper" class="gray-bg">
                <div class="row border-bottom white-bg">
                    <nav class="navbar navbar-static-top" role="navigation">
                        <div class="navbar-header">
                            <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
                                <i class="fa fa-reorder"></i>
                            </button>
                            <a href="/welcome/index/" class="navbar-brand" title="首页">Lei's Blog</a>
                        </div>
                        <div class = "navbar-collapse collapse" id = "navbar">
                            <ul class = "nav navbar-nav">
                                <li class = "active">
                                    <a aria-expanded = "false" role = "button" href = "javascript:;"><?php echo $site_desc;
            ?></a>
                                </li>
                                <li>
                                    <a aria-expanded="false" role="button" href="/welcome/gather/" title="归档">归档</a>
                                </li>
                                <li>
                                    <a aria-expanded="false" role="button" href="/welcome/pinboard/" title="Pin一下我~">留言</a>
                                </li>
                                <li>
                                    <a aria-expanded="false" role="button" href="/welcome/gallery/" title="好多好多图">图床</a>
                                </li>
                                <li>
                                    <a aria-expanded="false" role="button" href="/welcome/about/" title="进来了解我吧">关于</a>
                                </li>
                            </ul>
                            <ul class="nav navbar-top-links navbar-right">
                                <li>
                                    <?php if ($is_login == TRUE): ?>
                                        <a href="/member/logout/">
                                            <i class="fa fa-sign-out"></i> 注销
                                        </a>
                                    <?php else: ?>
                                        <a href="/member/login/" target="_blank">
                                            <i class="fa fa-sign-out"></i> 登录
                                        </a>
                                    <?php endif; ?>
                                </li>
                            </ul>
                        </div>
                    </nav>
                </div>

